package com.pan.admin.module.channel.entity;

import com.pan.admin.common.annotation.Excel;
import com.pan.admin.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 渠道关联动态单组对象 loan_channel_form_field
 *
 * @author ts
 * @date 2023-09-15
 */
public class LoanChannelFormField extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id主键
     */
    private Long id;

    /**
     * 渠道主键id
     */
    @Excel(name = "渠道主键id")
    private Long loanChannelId;

    /**
     * 动态表单字段主键id
     */
    @Excel(name = "动态表单字段主键id")
    private Long loanFormFieldId;

    /**
     * 字段名
     */
    private String fieldName;

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setLoanChannelId(Long loanChannelId) {
        this.loanChannelId = loanChannelId;
    }

    public Long getLoanChannelId() {
        return loanChannelId;
    }

    public void setLoanFormFieldId(Long loanFormFieldId) {
        this.loanFormFieldId = loanFormFieldId;
    }

    public Long getLoanFormFieldId() {
        return loanFormFieldId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("loanChannelId", getLoanChannelId())
                .append("loanFormFieldId", getLoanFormFieldId())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
